﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LstMemberNangCap.ascx.cs" Inherits="Web.Cms.Member.LstMemberNangCap" %>

<%@ Register src="../AjaxCP/Paging.ascx" tagname="PagingAjax" tagprefix="uc1" %>

<style type="text/css">
    .style1
    {
        text-align: right;
    }
</style>
<p>
     &nbsp;</p>
           

<div style="padding-bottom: 20px;" class="fl">
    <p class="heading" style="margin-left:400px; "> DANH SÁCH THÀNH VIÊN NÂNG CẤP</p>          
</div>
<br />
<div style="clear:both;"><asp:Label Font-Bold="true" ForeColor="red" Font-Size="11px" ID="lblMessage" runat="server"></asp:Label></div>

<table width="800px" align="center" style="margin-left:250px">
    <tr>
        <td class="style1">
            <strong>Nhập email:</strong></td>
        <td>
            <asp:TextBox ID="txtKeysearch" runat="server" Height="20px" Width="200px"></asp:TextBox>
        </td>
        <td class="style1">
            M<strong>ã thành viên:</strong></td>
        <td>
          
            <asp:TextBox ID="txtCodeMember" runat="server" Height="20px" Width="200px"></asp:TextBox>
        </td>
        <td>
            <asp:Button runat="server" ID="btnTimKiem" CssClass="Button_Search" 
                onclick="btnTimKiem_Click"/></td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style1">
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    </table>
<asp:GridView ID="grdLstMemberNangcap" runat="server" SkinID="AdminGridView" 
    BackColor="White" AutoGenerateColumns="False" 
    EnableModelValidation="True" 
    onrowdatabound="grdLstMemberNangcap_RowDataBound">
    <Columns>               
         <asp:BoundField HeaderText="STT">
            <ItemStyle HorizontalAlign="Center" Width="20px" />
            <HeaderStyle HorizontalAlign="Center" />
            <ItemStyle />
        </asp:BoundField>  
         <asp:BoundField DataField="IdMember" HeaderText="Mã thành viên" />
         <asp:BoundField DataField="FullName" HeaderText="Tên thành viên" />
         <asp:BoundField DataField="Email" HeaderText="Email" />
         <asp:BoundField DataField="Price" HeaderText="Số gold nâng cấp" />
         <asp:BoundField DataField="CreatedOn" HeaderText="Ngày nâng cấp" />
         <asp:TemplateField HeaderText="Hạng">
           <ItemTemplate>
              <%# Get_Status(Convert.ToInt32(Eval("Status")))%>
           </ItemTemplate>
         </asp:TemplateField>
    </Columns>
</asp:GridView>

<p style="text-align:center;">
    <br />            
    <asp:Label runat="server" ID="lbTotal" Font-Bold="true" Font-Size="15px" ForeColor="red"></asp:Label>            
    <br />  <br />
                
            <uc1:PagingAjax ID="PagingAjax1" runat="server" /> 
    <p>
    <br />
    <br />
</p>


